//
//  SongModel.m
//  悦享
//
//  Created by dllo on 16/3/22.
//  Copyright © 2016年 张洪国. All rights reserved.
//

#import "SongModel.h"
#import "SongLevelModel.h"
#import "SongMVModel.h"
@implementation SongModel

- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"auditionList"]) {
        self.auditionListArr = [SongLevelModel baseModelHandleWithArr:value];
    }
    
    if ([key isEqualToString:@"urlList"]) {
        self.urlListArr = [SongLevelModel baseModelHandleWithArr:value];
    }
    
    if ([key isEqualToString:@"mvList"]) {
        self.mvListArr = [SongMVModel baseModelHandleWithArr:value];
    }
    
    
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"id"]) {
        self.HGid = (NSString *)value;
    }
    
}

@end
